<?php
/**
 * File:          KValidatorElementSelect
 * Description:   -
 * Author:        Kovac "Kovacou'" Alexandre (www.kovacou.fr)
 * Last Update:   14/04/2011
 */

   abstract class KValidator_Element_Select extends KValidatorElement {
      public function void ($bool) {
         $this->void = (bool) $bool;
         
         return $this;
      }
      
      
      public function value () {
         $param = $this->_parameter("value");
         $param->values = array_map('trim', array_unique (func_get_args ()));
         
         return $this;         
      }
      
      
      protected function _parameter ($param) {
         return parent::_parameter("Select", $param);
      }
   }
 
/**
 * End
 * Of
 * File
 */
?>